home *** CD-ROM | disk | FTP | other *** search
- Brief documentation on PWORD.ASM (also called PASSWRD4.ASM)
- by ... P. L. Olympia, Sysop SUGI SIG/M RBBS 301-963-5249
-
- Thanks to John R. Petrocelli for sending me this program whose
- original author I don't know. Thanks, Mr. Anonymous.
-
- (*** SEE UPDATE AT END OF TEXT 02/05/85 CHANGES J.R.P. ***)
- (*** SEE UPDATE AT END OF TEXT 04/30/85 CHANGES J.R.P. ***)
-
- PURPOSE:
-
- PASSWRD4.ASM is intended to produce a device driver (PASSWRD4.SYS) that
- that you include in your CONFIG.SYS file. This driver will ask the user
- on machine startup to provide a password. The user is repeatedly asked
- for the password until the correct one is given. The user cannot get
- out of this with CTRL-C or CTRL-BREAK, but may warmboot with CTRL-ALT-
- DEL.
-
-
- INSTALLATION:
-
- Edit the file PASSWRD4.ASM and change the password (set in the
- distribution program as 'plan') to something else that you can easily
- remember. I suggest that you do NOT use your wife's name as everyone
- else in the industry does that (don't know why but 45% of my BBS users
- do that for some reason). The line that needs changing is this:
-
- PASSWORD_STORE DB 4,'plan'
- | |__ This is the password
- |______ This is the # of chars in the password
-
- If you don't use ANSI.SYS as a device driver, you may also want to
- change the ESC sequence for hiding/unhiding user input in the block
- called MSG_1 and MSG_2.
-
- Next, compile the program with ASM or MASM.
- MASM passwrd4
-
- Then LINK it: (ignore the "no stack" message)
- LINK passwrd4
-
- Then use EXE2BIN to convert it to a SYS file:
- EXE2BIN passwrd4 passwrd4.sys
-
- Add this line to your CONFIG.SYS file:
- DEVICE=passwrd4.sys
-
- If you use ANSI.SYS, it should come before PASSWRD4.SYS.
-
- That's it. Reboot and watch the fun. Enjoy ...
-
-
- P.S. For all you budding programmers, the program is a handy tool for
- learning how to set up a device driver.
-
-
-
- *** UPDATE 02/05/85 JOHN R. PETROCELLI **************************
-
- The driver program has been revised to allow the user to "lock"
- the PC via a call into the device driver's code. The address of the
- call is placed at interupt 66h in the table of interupt vectors.
-
- An routine called "LOCK.COM" may be invoked to call the password
- routine. This will prompt the user for the password after disabling
- ctrl-break. The user must enter the correct password (same as on
- boot up) before he may access the PC.
-
- The reason that the call is made into the device driver's code
- is so that if a password change is necessary then only the device
- driver must be recompiled and relinked.
-
- In order to prepare "LOCK.COM" ---------
-
- Compile the program:
- MASM LOCK
-
- Then LINK it: (ignore the "no stack" message)
- LINK LOCK
-
- Then use EXE2BIN to convert it to a SYS file:
- EXE2BIN LOCK LOCK.COM <enter>
-
- Then delete the LOCK.EXE file:
- ERASE LOCK.EXE <enter>
-
- I would appreciate any comments or suggestions. Send them to:
- JOHN R. PETROCLLI
- 3090 CARMAN RD.
- SCHENECTADY, N.Y. 12303
-
- *** UPDATE 04/30/85 JOHN R. PETROCELLI **************************
-
- With PASSWRD3.SYS if the "LOCK" command was used one was able to
- defeat the password by pressing CTRL-C. The current version, "PASSWRD4.
- SYS", has taken this into account and for the "LOCK" command all CTRL
- style keystrokes are treated as normal keystrokes. Thus I would suggest
- that you do not use any keystrokes which require the CTRL key to be
- held down in order to enter your password.
-
- I would appreciate any comments or suggestions. Send them to:
- JOHN R. PETROCLLI
- 3090 CARMAN RD.
- SCHENECTADY, N.Y. 12303
-